// normal mode (ie, outside the Overview), that surrounds the main
// workspace content.
-const Visibility = {
- FULL: 1,
- FULLSCREEN: 2,
- OVERVIEW: 3
-};
-
const defaultParams = {
visibleInOverview: false,
visibleInFullscreen: false,
this._inFullscreen = false;
this._inOverview = false;
- this.visibility = Visibility.FULL;
this._trackedActors = [];
else
this.actor.set_skip_paint(actorData.actor, false);
}
-
- let newVisibility;
- if (this._inOverview)
- newVisibility = Visibility.OVERVIEW;
- else if (this._inFullscreen)
- newVisibility = Visibility.FULLSCREEN;
- else
- newVisibility = Visibility.FULL;
-
- if (newVisibility != this.visibility) {
- this.visibility = newVisibility;
- this.emit('visibility-changed', this.visibility);
- }
},
_overviewShowing: function() {